PBDTDelete
ThePBDTDelete
function removes the desktop database. Unless you are manipulating the desktop database in the absence of the Finder, you should never use this function.
FUNCTION PBDTDelete (paramBlock: DTPBPtr; async: Boolean): OSErr;
paramBlock
- A pointer to a desktop parameter block.
async
- A Boolean value that specifies asynchronous (
TRUE
) or synchronous (FALSE
) execution.
--> ioCompletion ProcPtr A pointer to a completion routine. ¨ ioResult OSErr The result code of the function. --> ioVRefNum Integer The volume reference number of the desktop database. --> ioIndex Integer Reserved; must be set to 0. DESCRIPTION
ThePBDTDelete
function removes the desktop database from a local volume. You specify the volume by passing a volume reference number inioVRefNum
. You can callPBDTDelete
only when the database is closed.
- IMPORTANT
- Your application should never call
PBDTDelete
.![]()
RESULT CODES